import electron from 'electron'
import fs from 'fs'
const { remote } = electron
const { app } = remote

export default {
  async createSqlFile () {
    const configDir = app.getPath('userData')
    const fileName = 'database.sqlite'
    const SYS_PATH = `${configDir}/${fileName}`
    await fs.writeFileSync(SYS_PATH, '')
  }
}
